package com.dongdongshop.service;

import com.dongdongshop.pojo.TbGoods;
import com.dongdongshop.pojo.TbGoodsDesc;
import com.dongdongshop.vo.CategoryVO;

import java.util.List;

public interface GoodsService {
    Long addGoodsByGoodsDesc(TbGoods goods, TbGoodsDesc goodsDesc);

    List<CategoryVO> goodsInfo();

    List<TbGoods> getGoodsInfo();

    int deleteBatch(Long[] ids);

    int updateBatch(Long[] ids, String auditStatus);

    TbGoods selectByGoodsId(Long goodsId);

    TbGoodsDesc getGoodsDescByGoodsId(Long goodsId);
}
